﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Dainfo.Master" CodeBehind="CadastroClientes.aspx.vb" Inherits="Dainfo.ControleEstoque.Web.CadastroClientes" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

    .style3
    {
        width: 157px;
    }
    .style1
    {
        width: 139px;
    }
    .style4
    {
        width: 157px;
        height: 23px;
    }
    .style5
    {
        height: 23px;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderTituloPagina" runat="server">
    <span class="tituloPagina">Cadastro de Clientes
    </span>
&nbsp;
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPrincipal" runat="server">
    <table style="width:100%;">
    <tr>
        <td class="style3">
            Nome:*</td>
        <td>
            <asp:TextBox ID="txtNome" runat="server" Width="323px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvNome" runat="server" 
                ControlToValidate="txtNome" ErrorMessage="Nome obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td class="style3">
            CPF/CNPJ:*</td>
        <td>
            <asp:TextBox ID="txtCPF_CNPJ" runat="server" Width="169px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvCPF_CNPJ" runat="server" 
                ControlToValidate="txtCPF_CNPJ" ErrorMessage="CPF/CNPJ obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            CEP:*</td>
        <td>
            <asp:TextBox ID="txtCEP" runat="server" Width="167px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvCEP" runat="server" 
                ControlToValidate="txtCEP" ErrorMessage="CEP obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Estado:</td>
        <td>
            <asp:DropDownList ID="ddlEstado" runat="server" Height="16px">
                <asp:ListItem>SP</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Cidade:</td>
        <td>
            <asp:TextBox ID="txtCidade" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Endereço:</td>
        <td>
            <asp:TextBox ID="txtEndereco" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Bairro:</td>
        <td>
            <asp:TextBox ID="txtBairro" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Telefone 1:*</td>
        <td>
            <asp:TextBox ID="txtTel1" runat="server" Width="167px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvTel1" runat="server" 
                ControlToValidate="txtTel1" ErrorMessage="Telefone obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Telefone 2:</td>
        <td>
            <asp:TextBox ID="txtTel2" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Email:*</td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" Width="167px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="E-mail obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Messenger:</td>
        <td>
            <asp:TextBox ID="txtMsn" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Data: </td>
        <td>
            <asp:TextBox ID="txtMsn0" runat="server" Width="167px"></asp:TextBox>
            <asp:CalendarExtender ID="txtMsn0_CalendarExtender" runat="server" 
                Enabled="True" TargetControlID="txtMsn0">
            </asp:CalendarExtender>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Observações:</td>
        <td>
            <asp:TextBox ID="txtObs" runat="server" Width="344px" Height="72px" 
                TextMode="MultiLine"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            <em>*Campos obrigatórios</em></td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style4">
            </td>
        <td class="style5">
            </td>
        <td class="style5">
            </td>
    </tr>
    <tr>
        <td class="style4">
                        <asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="113px" />
                    </td>
        <td class="style5">
                        <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" Width="113px" 
                            CausesValidation="False" PostBackUrl="~/Home.aspx" />
                    </td>
        <td class="style5">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            <table style="width:100%;">
                <tr>
                    <td class="style1">
                        &nbsp;</td>
                </tr>
            </table>
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>
</asp:Content>
